<!--固定DOM结构-->
<div class="kit-table">
	<div class="layui-form">
		<form action="" method="post" style="padding:15px 0 0 10px">
			<div class="layui-form-item">
				<div class="layui-input-inline">
					<select name="Form[Role]">
						<option value="">角色</option>
						<option value="浙江">浙江省</option>
						<option value="你的工号">江西省</option>
						<option value="你最喜欢的老师">福建省</option>
					</select>
				</div>
				<div class="layui-input-inline">
					<select name="Form[Team]">
						<option value="">用户组</option>
						<option value="杭州">杭州</option>
						<option value="宁波" disabled="">宁波</option>
						<option value="温州">温州</option>
						<option value="温州">台州</option>
						<option value="温州">绍兴</option>
					</select>
				</div>
				<!--			<div class="layui-input-inline">
								<input name="Form[Email]" class="layui-input" placeholder="邮箱">
							</div>
							<div class="layui-input-inline">
								<input name="Form[MobilePhone]" class="layui-input" placeholder="手机">
							</div>-->
				<div class="layui-input-inline">
					<button type="submit" name="SPSubmit" class="layui-btn">筛 选</button>
				</div>
			</div>
		</form>
		<div class="kit-table-header">
			<div class="kit-search-btns">
				<a href="javascript:;" data-action="Add" class="layui-btn layui-btn-sm layui-btn-normal">
					<i class="layui-icon">&#xe608;</i> 新增
				</a>
			</div>
		</div>
	</div>
	<table class="TagList" id="TagList" lay-filter="TagList"></table>
</div>
<!--工具条-->
<script type="text/html" id="UserBar">
	<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit">编辑</a>
	{{#  if(d.Status == 1){ }}
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">禁用</a>
	{{#  } }}
	{{#  if(d.Status == 0){ }}
	<a class="layui-btn layui-btn-xs" lay-event="del">激活</a>
	{{#  } }}
</script>
<!--修改 模板-->
<script type="text/html" id="TagEditTpl">
	<div style="margin:10px">
		<div class="layui-form" lay-filter="IntroAddForm">
			<div class="layui-form-item" style="display: none">
				<label class="layui-form-label"></label>
				<div class="layui-input-block">
					<input type="text" name="UUID" required lay-verify="required" placeholder="请输入姓名"
						   autocomplete="off" class="layui-input" value="{{d.UUID}}">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">姓名</label>
				<div class="layui-input-block">
					<input type="text" name="CnName" required lay-verify="required" placeholder="请输入姓名"
						   autocomplete="off" class="layui-input" value="{{d.CnName}}">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">昵称</label>
				<div class="layui-input-block">
					<input type="text" name="NickName" required lay-verify="required" placeholder="请输入昵称"
						   autocomplete="off" class="layui-input" value="{{d.NickName}}">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">邮箱</label>
				<div class="layui-input-block">
					<input type="text" name="Email" required lay-verify="required" placeholder="请输入邮箱"
						   autocomplete="off" class="layui-input" value="{{d.Email}}">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">手机</label>
				<div class="layui-input-block">
					<input type="text" name="MobilePhone" required lay-verify="required" placeholder="请输入手机"
						   autocomplete="off" class="layui-input" value="{{d.MobilePhone}}">
				</div>
			</div>
			<div class="layui-form-item" style="display:none;">
				<div class="layui-input-block">
					<button type="submit" name="SPSubmit" class="layui-btn" lay-submit lay-filter="formEdit">添 加
					</button>
				</div>
			</div>
		</div>
	</div>
</script>
<!--新增 模板-->
<script type="text/html" id="TagAddTpl">
	<div style="margin:10px">
		<div class="layui-form" lay-filter="TagAddForm">
			<div class="layui-form-item">
				<label class="layui-form-label">姓名</label>
				<div class="layui-input-block">
					<input type="text" name="Form[CnName]" required lay-verify="required" placeholder="请输入姓名"
						   autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">昵称</label>
				<div class="layui-input-block">
					<input type="text" name="Form[NickName]" required lay-verify="required" placeholder="请输入昵称"
						   autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">邮箱</label>
				<div class="layui-input-block">
					<input type="text" name="Form[Email]" required lay-verify="required" placeholder="请输入邮箱"
						   autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">手机</label>
				<div class="layui-input-block">
					<input type="text" name="Form[MobilePhone]" required lay-verify="required" placeholder="请输入手机"
						   autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">密码</label>
				<div class="layui-input-block">
					<input type="password" name="Form[Password]" required lay-verify="required" placeholder="请输入密码"
						   autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">重复密码</label>
				<div class="layui-input-block">
					<input type="password" name="Form[RePassword]" required lay-verify="required" placeholder="请再次输入密码"
						   autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item" style="display:none;">
				<div class="layui-input-block">
					<button type="submit" name="SPSubmit" class="layui-btn" lay-submit lay-filter="formEdit">添 加
					</button>
				</div>
			</div>
		</div>
	</div>
</script>


var GatewaysData = JSON.parse('<{$GatewaysJSON}>'.replace(/&quot;/g,'"'));
var TagsData = JSON.parse('<{$TagsJSON}>'.replace(/&quot;/g,'"'));
</script>